package com.wanmait.recycle.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wanmait.recycle.mapper.CollectArticleMapper;
import com.wanmait.recycle.pojo.CollectArticle;
import com.wanmait.recycle.service.CollectArticleService;
import com.wanmait.recycle.util.Pager;

@Service
@Transactional
public class CollectArticleServiceImpl implements CollectArticleService {

	@Resource 
	private CollectArticleMapper collectArticleMapper;
	
	@Override
	public void insert(CollectArticle object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void update(CollectArticle object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(Integer id) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(String ids) {
		// TODO Auto-generated method stub

	}

	@Override
	public CollectArticle findById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<CollectArticle> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<CollectArticle> findAll(Pager pager) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<CollectArticle> findAll(CollectArticle object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount(CollectArticle object) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<CollectArticle> findAll(Pager pager, CollectArticle object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void insertBatch(List<CollectArticle> collectArticleList) {
		collectArticleMapper.insertBatch(collectArticleList);
		
	}

	@Override
	public void deleteBatch(List<CollectArticle> collectArticleList) {
		collectArticleMapper.deleteBatch(collectArticleList);
		
	}

}
